﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006E1 RID: 1761
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFriendAssistListCsReq : IMessage<GetFriendAssistListCsReq>, IMessage, IEquatable<GetFriendAssistListCsReq>, IDeepCloneable<GetFriendAssistListCsReq>, IBufferMessage
	{
		// Token: 0x1700169C RID: 5788
		// (get) Token: 0x06004F49 RID: 20297 RVA: 0x000D806B File Offset: 0x000D626B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFriendAssistListCsReq> Parser
		{
			get
			{
				return GetFriendAssistListCsReq._parser;
			}
		}

		// Token: 0x1700169D RID: 5789
		// (get) Token: 0x06004F4A RID: 20298 RVA: 0x000D8072 File Offset: 0x000D6272
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFriendAssistListCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700169E RID: 5790
		// (get) Token: 0x06004F4B RID: 20299 RVA: 0x000D8084 File Offset: 0x000D6284
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFriendAssistListCsReq.Descriptor;
			}
		}

		// Token: 0x06004F4C RID: 20300 RVA: 0x000D808B File Offset: 0x000D628B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendAssistListCsReq()
		{
		}

		// Token: 0x06004F4D RID: 20301 RVA: 0x000D80AC File Offset: 0x000D62AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendAssistListCsReq(GetFriendAssistListCsReq other) : this()
		{
			this.gBNLMLGMNNM_ = other.gBNLMLGMNNM_.Clone();
			this.targetId_ = other.targetId_;
			this.aOPMALGEKKI_ = other.aOPMALGEKKI_;
			this.lJEEPKLGLDM_ = other.lJEEPKLGLDM_;
			this.jNEKKDPNJCM_ = other.jNEKKDPNJCM_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004F4E RID: 20302 RVA: 0x000D8116 File Offset: 0x000D6316
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendAssistListCsReq Clone()
		{
			return new GetFriendAssistListCsReq(this);
		}

		// Token: 0x1700169F RID: 5791
		// (get) Token: 0x06004F4F RID: 20303 RVA: 0x000D811E File Offset: 0x000D631E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> GBNLMLGMNNM
		{
			get
			{
				return this.gBNLMLGMNNM_;
			}
		}

		// Token: 0x170016A0 RID: 5792
		// (get) Token: 0x06004F50 RID: 20304 RVA: 0x000D8126 File Offset: 0x000D6326
		// (set) Token: 0x06004F51 RID: 20305 RVA: 0x000D812E File Offset: 0x000D632E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TargetId
		{
			get
			{
				return this.targetId_;
			}
			set
			{
				this.targetId_ = value;
			}
		}

		// Token: 0x170016A1 RID: 5793
		// (get) Token: 0x06004F52 RID: 20306 RVA: 0x000D8137 File Offset: 0x000D6337
		// (set) Token: 0x06004F53 RID: 20307 RVA: 0x000D813F File Offset: 0x000D633F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AssistAvatarType AOPMALGEKKI
		{
			get
			{
				return this.aOPMALGEKKI_;
			}
			set
			{
				this.aOPMALGEKKI_ = value;
			}
		}

		// Token: 0x170016A2 RID: 5794
		// (get) Token: 0x06004F54 RID: 20308 RVA: 0x000D8148 File Offset: 0x000D6348
		// (set) Token: 0x06004F55 RID: 20309 RVA: 0x000D8150 File Offset: 0x000D6350
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool LJEEPKLGLDM
		{
			get
			{
				return this.lJEEPKLGLDM_;
			}
			set
			{
				this.lJEEPKLGLDM_ = value;
			}
		}

		// Token: 0x170016A3 RID: 5795
		// (get) Token: 0x06004F56 RID: 20310 RVA: 0x000D8159 File Offset: 0x000D6359
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> JNEKKDPNJCM
		{
			get
			{
				return this.jNEKKDPNJCM_;
			}
		}

		// Token: 0x06004F57 RID: 20311 RVA: 0x000D8161 File Offset: 0x000D6361
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFriendAssistListCsReq);
		}

		// Token: 0x06004F58 RID: 20312 RVA: 0x000D8170 File Offset: 0x000D6370
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFriendAssistListCsReq other)
		{
			return other != null && (other == this || (this.gBNLMLGMNNM_.Equals(other.gBNLMLGMNNM_) && this.TargetId == other.TargetId && this.AOPMALGEKKI == other.AOPMALGEKKI && this.LJEEPKLGLDM == other.LJEEPKLGLDM && this.jNEKKDPNJCM_.Equals(other.jNEKKDPNJCM_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004F59 RID: 20313 RVA: 0x000D81F4 File Offset: 0x000D63F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.gBNLMLGMNNM_.GetHashCode();
			if (this.TargetId != 0U)
			{
				num ^= this.TargetId.GetHashCode();
			}
			if (this.AOPMALGEKKI != AssistAvatarType.AssistAvatarUnknow)
			{
				num ^= this.AOPMALGEKKI.GetHashCode();
			}
			if (this.LJEEPKLGLDM)
			{
				num ^= this.LJEEPKLGLDM.GetHashCode();
			}
			num ^= this.jNEKKDPNJCM_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004F5A RID: 20314 RVA: 0x000D8287 File Offset: 0x000D6487
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004F5B RID: 20315 RVA: 0x000D828F File Offset: 0x000D648F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004F5C RID: 20316 RVA: 0x000D8298 File Offset: 0x000D6498
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.gBNLMLGMNNM_.WriteTo(ref output, GetFriendAssistListCsReq._repeated_gBNLMLGMNNM_codec);
			this.jNEKKDPNJCM_.WriteTo(ref output, GetFriendAssistListCsReq._repeated_jNEKKDPNJCM_codec);
			if (this.TargetId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.TargetId);
			}
			if (this.LJEEPKLGLDM)
			{
				output.WriteRawTag(48);
				output.WriteBool(this.LJEEPKLGLDM);
			}
			if (this.AOPMALGEKKI != AssistAvatarType.AssistAvatarUnknow)
			{
				output.WriteRawTag(104);
				output.WriteEnum((int)this.AOPMALGEKKI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004F5D RID: 20317 RVA: 0x000D8330 File Offset: 0x000D6530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.gBNLMLGMNNM_.CalculateSize(GetFriendAssistListCsReq._repeated_gBNLMLGMNNM_codec);
			if (this.TargetId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TargetId);
			}
			if (this.AOPMALGEKKI != AssistAvatarType.AssistAvatarUnknow)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.AOPMALGEKKI);
			}
			if (this.LJEEPKLGLDM)
			{
				num += 2;
			}
			num += this.jNEKKDPNJCM_.CalculateSize(GetFriendAssistListCsReq._repeated_jNEKKDPNJCM_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004F5E RID: 20318 RVA: 0x000D83B8 File Offset: 0x000D65B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFriendAssistListCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.gBNLMLGMNNM_.Add(other.gBNLMLGMNNM_);
			if (other.TargetId != 0U)
			{
				this.TargetId = other.TargetId;
			}
			if (other.AOPMALGEKKI != AssistAvatarType.AssistAvatarUnknow)
			{
				this.AOPMALGEKKI = other.AOPMALGEKKI;
			}
			if (other.LJEEPKLGLDM)
			{
				this.LJEEPKLGLDM = other.LJEEPKLGLDM;
			}
			this.jNEKKDPNJCM_.Add(other.jNEKKDPNJCM_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004F5F RID: 20319 RVA: 0x000D843E File Offset: 0x000D663E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004F60 RID: 20320 RVA: 0x000D8448 File Offset: 0x000D6648
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 24U)
				{
					if (num == 8U || num == 10U)
					{
						this.gBNLMLGMNNM_.AddEntriesFrom(ref input, GetFriendAssistListCsReq._repeated_gBNLMLGMNNM_codec);
						continue;
					}
					if (num == 24U)
					{
						goto IL_5C;
					}
				}
				else if (num <= 40U)
				{
					if (num == 26U)
					{
						goto IL_5C;
					}
					if (num == 40U)
					{
						this.TargetId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 48U)
					{
						this.LJEEPKLGLDM = input.ReadBool();
						continue;
					}
					if (num == 104U)
					{
						this.AOPMALGEKKI = (AssistAvatarType)input.ReadEnum();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_5C:
				this.jNEKKDPNJCM_.AddEntriesFrom(ref input, GetFriendAssistListCsReq._repeated_jNEKKDPNJCM_codec);
			}
		}

		// Token: 0x04001F2F RID: 7983
		private static readonly MessageParser<GetFriendAssistListCsReq> _parser = new MessageParser<GetFriendAssistListCsReq>(() => new GetFriendAssistListCsReq());

		// Token: 0x04001F30 RID: 7984
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001F31 RID: 7985
		public const int GBNLMLGMNNMFieldNumber = 1;

		// Token: 0x04001F32 RID: 7986
		private static readonly FieldCodec<uint> _repeated_gBNLMLGMNNM_codec = FieldCodec.ForUInt32(10U);

		// Token: 0x04001F33 RID: 7987
		private readonly RepeatedField<uint> gBNLMLGMNNM_ = new RepeatedField<uint>();

		// Token: 0x04001F34 RID: 7988
		public const int TargetIdFieldNumber = 5;

		// Token: 0x04001F35 RID: 7989
		private uint targetId_;

		// Token: 0x04001F36 RID: 7990
		public const int AOPMALGEKKIFieldNumber = 13;

		// Token: 0x04001F37 RID: 7991
		private AssistAvatarType aOPMALGEKKI_;

		// Token: 0x04001F38 RID: 7992
		public const int LJEEPKLGLDMFieldNumber = 6;

		// Token: 0x04001F39 RID: 7993
		private bool lJEEPKLGLDM_;

		// Token: 0x04001F3A RID: 7994
		public const int JNEKKDPNJCMFieldNumber = 3;

		// Token: 0x04001F3B RID: 7995
		private static readonly FieldCodec<uint> _repeated_jNEKKDPNJCM_codec = FieldCodec.ForUInt32(26U);

		// Token: 0x04001F3C RID: 7996
		private readonly RepeatedField<uint> jNEKKDPNJCM_ = new RepeatedField<uint>();
	}
}
